import { FormProps, FormSchema } from '/@/components/Form';
import type { DynamicProps } from '/#/utils';
type Props = Partial<DynamicProps<FormProps>>;

const fromSchemas: FormSchema[] = [
  {
    field: 'name',
    component: 'Input',
    label: '名称',
    colProps: {
      span: 20,
    },
    required: true,
  },
];

export const fromConfig: Props = {
  labelWidth: 100,
  schemas: fromSchemas,
  showActionButtonGroup: false,
  actionColOptions: {
    span: 24,
  },
};
